package com.kudian.restful.vo.order;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.sql.Timestamp;
import java.util.List;

/**
 * Created by Administrator on 2016/5/21.
 */
public class OrderVO {
    private Integer sellerId;
    private String sellerName;

    private Boolean isFirst;
    private Double firstAmount;
    private Boolean isFullMinus;
    private Double fullAmount;
    private Double minusAmount;
    private Boolean isShippingFree;
    private Double shippingFee;

    private Integer orderId;
    private String orderSn;
    private Short orderStatus;
    private Short shippingStatus;
    private Short payStatus;
    private String consignee;
    private Short sex;
    // private Short country;
    private Integer province;
    private Integer city;
    private Integer district;
    private String provinceNm;
    private String cityNm;
    private String districtNm;

    private String address;
    private String zipcode;
    // private String tel;
    private String mobile;
    // private String email;
    private String bestTime;
    private Double goodsAmount;
    private Double orderAmount;
    private String addTime;
    private String confirmTime;
    private String payTime;
    private String shippingTime;
    private String payNote;
    private Double firtDiscountFee;
    private Double fmDiscountFee;
    private Double shippingDiscountFee;
    private Boolean isFirtDiscountFee;
    private Boolean isFmDiscountFee;
    private Boolean isShippingDiscountFee;
    private String spe;

    // 优惠金额
    private Double bonus;
    // 优惠卷id
    private Integer bonusId;
    private Integer typeId;
    private String typeName;
    private Double typeMoney;
    private Double minGoodsAmount;
    private Timestamp usedTime;

    private List<OrderItemVO> items;

    private List<DeliveryVO> deliveryitems;

    public Integer getSellerId() {
        return sellerId;
    }

    public void setSellerId(Integer sellerId) {
        this.sellerId = sellerId;
    }

    public String getSellerName() {
        return sellerName;
    }

    public void setSellerName(String sellerName) {
        this.sellerName = sellerName;
    }

    public Boolean getIsFirst() {
        return isFirst;
    }

    public void setIsFirst(Boolean isFirst) {
        this.isFirst = isFirst;
    }

    public Double getFirstAmount() {
        return firstAmount;
    }

    public void setFirstAmount(Double firstAmount) {
        this.firstAmount = firstAmount;
    }

    public Boolean getIsFullMinus() {
        return isFullMinus;
    }

    public void setIsFullMinus(Boolean isFullMinus) {
        this.isFullMinus = isFullMinus;
    }

    public Double getFullAmount() {
        return fullAmount;
    }

    public void setFullAmount(Double fullAmount) {
        this.fullAmount = fullAmount;
    }

    public Double getMinusAmount() {
        return minusAmount;
    }

    public void setMinusAmount(Double minusAmount) {
        this.minusAmount = minusAmount;
    }

    public Boolean getIsShippingFree() {
        return isShippingFree;
    }

    public void setIsShippingFree(Boolean isShippingFree) {
        this.isShippingFree = isShippingFree;
    }

    public Double getShippingFee() {
        return shippingFee;
    }

    public void setShippingFee(Double shippingFee) {
        this.shippingFee = shippingFee;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public String getOrderSn() {
        return orderSn;
    }

    public void setOrderSn(String orderSn) {
        this.orderSn = orderSn;
    }

    public Short getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Short orderStatus) {
        this.orderStatus = orderStatus;
    }

    public Short getShippingStatus() {
        return shippingStatus;
    }

    public void setShippingStatus(Short shippingStatus) {
        this.shippingStatus = shippingStatus;
    }

    public Short getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(Short payStatus) {
        this.payStatus = payStatus;
    }

    public String getConsignee() {
        return consignee;
    }

    public void setConsignee(String consignee) {
        this.consignee = consignee;
    }

    public Short getSex() {
        return sex;
    }

    public void setSex(Short sex) {
        this.sex = sex;
    }

    public Integer getProvince() {
        return province;
    }

    public void setProvince(Integer province) {
        this.province = province;
    }

    public Integer getCity() {
        return city;
    }

    public void setCity(Integer city) {
        this.city = city;
    }

    public Integer getDistrict() {
        return district;
    }

    public void setDistrict(Integer district) {
        this.district = district;
    }

    public String getProvinceNm() {
        return provinceNm;
    }

    public void setProvinceNm(String provinceNm) {
        this.provinceNm = provinceNm;
    }

    public String getCityNm() {
        return cityNm;
    }

    public void setCityNm(String cityNm) {
        this.cityNm = cityNm;
    }

    public String getDistrictNm() {
        return districtNm;
    }

    public void setDistrictNm(String districtNm) {
        this.districtNm = districtNm;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getZipcode() {
        return zipcode;
    }

    public void setZipcode(String zipcode) {
        this.zipcode = zipcode;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getBestTime() {
        return bestTime;
    }

    public void setBestTime(String bestTime) {
        this.bestTime = bestTime;
    }

    public Double getGoodsAmount() {
        return goodsAmount;
    }

    public void setGoodsAmount(Double goodsAmount) {
        this.goodsAmount = goodsAmount;
    }

    public Double getOrderAmount() {
        return orderAmount;
    }

    public void setOrderAmount(Double orderAmount) {
        this.orderAmount = orderAmount;
    }

    public String getAddTime() {
        return addTime;
    }

    public void setAddTime(String addTime) {
        this.addTime = addTime;
    }

    public String getConfirmTime() {
        return confirmTime;
    }

    public void setConfirmTime(String confirmTime) {
        this.confirmTime = confirmTime;
    }

    public String getPayTime() {
        return payTime;
    }

    public void setPayTime(String payTime) {
        this.payTime = payTime;
    }

    public String getShippingTime() {
        return shippingTime;
    }

    public void setShippingTime(String shippingTime) {
        this.shippingTime = shippingTime;
    }

    public String getPayNote() {
        return payNote;
    }

    public void setPayNote(String payNote) {
        this.payNote = payNote;
    }

    public Double getFirtDiscountFee() {
        return firtDiscountFee;
    }

    public void setFirtDiscountFee(Double firtDiscountFee) {
        this.firtDiscountFee = firtDiscountFee;
    }

    public Double getFmDiscountFee() {
        return fmDiscountFee;
    }

    public void setFmDiscountFee(Double fmDiscountFee) {
        this.fmDiscountFee = fmDiscountFee;
    }

    public Double getShippingDiscountFee() {
        return shippingDiscountFee;
    }

    public void setShippingDiscountFee(Double shippingDiscountFee) {
        this.shippingDiscountFee = shippingDiscountFee;
    }

    public void setIsFirtDiscountFee(Boolean isFirtDiscountFee) {
        this.isFirtDiscountFee = isFirtDiscountFee;
    }

    public void setIsFmDiscountFee(Boolean isFmDiscountFee) {
        this.isFmDiscountFee = isFmDiscountFee;
    }

    public void setIsShippingDiscountFee(Boolean isShippingDiscountFee) {
        this.isShippingDiscountFee = isShippingDiscountFee;
    }

    public Boolean getIsFirtDiscountFee() {
        return isFirtDiscountFee;
    }

    public Boolean getIsFmDiscountFee() {
        return this.isFmDiscountFee;
    }

    public Boolean getIsShippingDiscountFee() {
        return this.isShippingDiscountFee;
    }

    public String getSpe() {
        return spe;
    }

    public void setSpe(String spe) {
        this.spe = spe;
    }

    public Double getBonus() {
        return bonus;
    }

    public void setBonus(Double bonus) {
        this.bonus = bonus;
    }

    public Integer getBonusId() {
        return bonusId;
    }

    public void setBonusId(Integer bonusId) {
        this.bonusId = bonusId;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public Double getTypeMoney() {
        return typeMoney;
    }

    public void setTypeMoney(Double typeMoney) {
        this.typeMoney = typeMoney;
    }

    public Double getMinGoodsAmount() {
        return minGoodsAmount;
    }

    public void setMinGoodsAmount(Double minGoodsAmount) {
        this.minGoodsAmount = minGoodsAmount;
    }

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Timestamp getUsedTime() {
        return usedTime;
    }

    public void setUsedTime(Timestamp usedTime) {
        this.usedTime = usedTime;
    }

    public List<OrderItemVO> getItems() {
        return items;
    }

    public void setItems(List<OrderItemVO> items) {
        this.items = items;
    }

    public List<DeliveryVO> getDeliveryitems() {
        return deliveryitems;
    }

    public void setDeliveryitems(List<DeliveryVO> deliveryitems) {
        this.deliveryitems = deliveryitems;
    }
}
